package org.luckyjourney.service.booking;

import com.wechat.pay.java.service.payments.jsapi.model.PrepayWithRequestPaymentResponse;
import com.wechat.pay.java.service.payments.model.Transaction;
import com.wechat.pay.java.service.refund.model.Refund;
import org.luckyjourney.entity.booking.dto.OrdersPaymentDTO;
import org.luckyjourney.entity.booking.vo.RefundsVO;

public interface WechatPayService {
    PrepayWithRequestPaymentResponse prepayWithRequestPayment(OrdersPaymentDTO ordersPaymentDTO);

    Transaction queryOrderById(String ordersNumber);

    Refund prepayWithRefundRequests(OrdersPaymentDTO ordersPaymentDTO);

    Refund refundSuccess(String ordersNumber);

    Boolean RequesRefund(OrdersPaymentDTO ordersPaymentDTO);

    RefundsVO refunddetails(OrdersPaymentDTO ordersPaymentDTO);

    Boolean cancelRefund(OrdersPaymentDTO ordersPaymentDTO);
}
